Skip to content

fix project selection dropdown#780

Merged
lcjohnso merged 3 commits intomasterfrom
fix-222
Apr 20, 2026
Merged

fix project selection dropdown#780
lcjohnso merged 3 commits intomasterfrom
fix-222

Conversation

@lcjohnso
Copy link
Copy Markdown
Member

@lcjohnso lcjohnso commented Apr 18, 2026

Staging branch URL: https://pr-780.lab-preview.zooniverse.org/

Fixes #222

  • Bumping react-select to 1.0.0-rc10 to match PFE and other repos.
  • Pass full option object (value and label) to search component, which fixes primary bug by displaying label of selected item before clicking "Add project" confirmation.
  • Added slug to option label to help differentiate between projects when working in admin mode (where there are many duplicates with the same display name).

For review, feel free to test adding projects to org using by test org on staging: https://pr-780.lab-preview.zooniverse.org/organizations/59/

Copy link
Copy Markdown
Contributor

@mcbouslog mcbouslog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested staging branch URL without issue - added two projects to linked organization 👍 . Code changes LGTM. Thanks for fix! 🎉

@lcjohnso lcjohnso merged commit 2dfa226 into master Apr 20, 2026
4 checks passed
@lcjohnso lcjohnso deleted the fix-222 branch April 20, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

react-select inputs not showing selected option

2 participants